<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
Route::post('register', 'index/register');
Route::post('login', 'index/login');
Route::post('adminLogin', 'index/adminLogin');
Route::get('refreshToken', 'index/refreshToken');
Route::get('logout', 'index/logout');
Route::post('avatar', 'index/avatar');
Route::get('getAdminLogin', 'index/getAdminLogin');
Route::post('adminLogout', 'index/adminLogout');
Route::get('getAdminUser', 'index/getAdminUser');
Route::post('registerAdminUser', 'index/registerAdminUser');
Route::get('getPermission', 'index/getPermission');
Route::get('getUserPermission', 'index/getUserPermission');
Route::get('updateUserPermission', 'index/updateUserPermission');
Route::get('getInPermission', 'index/getInPermission');
 
 
 
